<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page language="java" import="com.soft.model.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../../js/jquery-3.3.1.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$(".usericon").change(function(event){
			$.ajax({
				url:"UploadImg",
				data:"delIds="+id,
				type:"post",
				enctype:"multipart/form-data",
				success:function(data){
					if(data == "ok"){
						alert("上传成功");
						//row.remove();
						//$("#search").submit();
					}
				}
			});
		});
	});
</script>
</head>
<link rel="stylesheet" href="../../css/common.css" />
		<div class="title-area bg-color-black font-normal font-white">乌托邦别墅预定管理平台>系统设置>编辑用户</div>
	<!-- user_detail -->
	<form action="user_doupdate" method="post">
		<div class="edit-area">
			<div class="container">
				<div class="row">
					<div class="title">编辑用户</div>
				</div>
				<input type="hidden" name="id" value="${user.id }">
				<div class="row">
					<div class="label must">姓名</div>
					<input type="text" class="edit" name="usercname" value="${user.usercname }"/>
				</div>
				<div class="row">
					<div class="label must">账户</div>
					<label class="edit">${user.username }</label>
				</div>
				<div class="row">
					<div class="label must">密码</div>
					<input type="password" class="edit" name="password" value=""/>
				</div>
				<div class="row">
					<div class="label must">确认密码</div>
					<input type="password" class="edit" name="password02" value=""/>
				</div>
				<div class="row">
					<span style="color: red;font-size: xx-small;">${errMsg}</span>
<!-- 					<button id="cancel" class="font-white button-del font-normal">取消</button> -->
					<button id="save" class="font-white button-put font-normal">保存</button>
				</div>
				
			</div>
		</div>
		</form>
		
</html>